home *** CD-ROM | disk | FTP | other *** search
- Path: nntp.teleport.com!sschaem
- From: sschaem@teleport.com (Stephan Schaem)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Amiga programmers in deep shit...
- Date: 10 Jan 1996 17:14:06 GMT
- Organization: Teleport - Portland's Public Access (503) 220-1016
- Distribution: world
- Message-ID: <4d0s4u$i4i@maureen.teleport.com>
- References: <4cjjbr$4im@maureen.teleport.com> <4cmvp3$mis@mordred.cc.jyu.fi> <4cnhfp$jjo@maureen.teleport.com> <4cr6va$o7@news.xs4all.nl>
- NNTP-Posting-Host: julie.teleport.com
- X-Newsreader: TIN [version 1.2 PL2]
-
- Marco Nelissen (marcone@xs1.xs4all.nl) wrote:
- : Stephan Schaem (sschaem@teleport.com) wrote:
- : : You have a 4500x200 8bit picture on a floppy. this picture is the background
- : : for an horizontal scrolling map (Put what ever you want on top).
- : : now, as you scroll the map, you can load it from floppy tiny bit at a
- : : time... No need to have in in memory.
-
- : So why can't this be done with a harddisk? Your floppydrive is capable
- : of doing something like 30 kilobytes per second I believe, but let's round
- : this up to 50k per second. Now take a harddisk that does 500k per second
- : (which is quite slow). You will see that even if this harddisk requires
- : 100% cpu, you still only use 10% of the total cpu, if you load at the same
- : speed as a floppydrive. If you take more realistic figures for floppy-
- : and harddisk-speed (35 kilobytes vs. 1 megabyte per second), you get
- : 3.5% cpu-used for a harddisk, when loading the data at floppy-speed.
-
- The reason is simple... the floppy DMA controler used reserved chip ram
- DMA slot. The floppy rate can be controled taking into acount RPM,
- setup time, and sync pos to provide a steady flow of data that uses
- only some blitter time to decode.
- Now try this on a basic A2000 with dataflyer and ide drive you dont know
- whats going on. The only time you can use 100% of the cpu tyime for the
- read is during the frame time unused.. lets say 10 to 20%.
-
- I think your forgot the fact that data are loaded while the machine is
- fully active. 3.5% cpu usage is way to much, it equal to 210% of a frame
- frame... You need to guaranty that the device do not use more then 10%
- per frame. BTW the floppy use less then a 1% for this job. the 10% is
- a figure needed for HD..
-
- Stephan
-